Version

IndexOf Method (PageBreakCollection<T>)

Gets the 0-based index of the specified page break.
Syntax
public int IndexOf( 
   T pageBreak
)

Parameters

pageBreak
The page break for which the index should be obtained.

Return Value

The 0-based index of the page break or -1 if the page break is no tin the collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when pageBreak is null.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also